package partner;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
 * @author: wzq
 * @date: 14-6-18
 * description: change it at File | setting | File and code templates | include | file header
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface FieldDes {
    String colName();//字段名
    int colDatalength() default -1;//长度
    boolean isPrimaryKey() default false; //是否primary key
    String colDataType();// 数据库保存时的字段类型
    boolean crypt() default true;//是否加密,默认加密
}
